package com.peas.platform.module.icims.contract.initial.domain.impl;

import com.peas.platform.framework.mybatisplus.domain.BaseDomainImpl;
import com.peas.platform.framework.mybatisplus.repository.BaseRepository;
import com.peas.platform.module.icims.contract.initial.adapter.repository.ContractInitialProcessRepository;
import com.peas.platform.module.icims.contract.initial.adapter.repository.po.ContractInitialProcessPo;
import com.peas.platform.module.icims.contract.initial.domain.ContractInitialProcessDomain;
import com.peas.platform.module.icims.contract.initial.dto.ContractInitialProcessDto;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class ContractInitialProcessDomainImpl extends BaseDomainImpl<ContractInitialProcessDto, ContractInitialProcessPo> implements ContractInitialProcessDomain {

    @Resource
    private ContractInitialProcessRepository contractInitialProcessRepository;

    @Override
    public BaseRepository<ContractInitialProcessPo> getMapper() {
        return contractInitialProcessRepository;
    }

    @Override
    public Class<? extends BaseRepository<ContractInitialProcessPo>> getRepositoryClass() {
        return ContractInitialProcessRepository.class;
    }

}
